from django.conf.urls import patterns, include, url
from mysite001.view import *
from app.views import *
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    #url(r'^/$', 'mysite001.views.home', name='home'),
    #url(r'^blog/', include('blog.urls')),
    patterns('','^hello/$','mysite001.view.hello'),
    patterns('','^current/$',current_url_view_good),
    patterns('','^time/$', current_datetime),
    patterns('','^time/plus/(?P<offset>\d{1,2})/$', hours_ahead),
    patterns('','^time/24hours/$',hours_ahead,{'offset':'24'}),
    patterns('','^metadata/$',display_meta),
    patterns('','^Requestcontext/$','app.views.view_1'),
    #patterns('','^somepage/$',some_page),
    # patterns('','^search-form/$',search_form),
    patterns('','^search/$',search),
    patterns('','^contact/$',contact),
    patterns('',r'^contact/thanks/$',thanks),
    url(r'^admin/', include(admin.site.urls)),
)
